*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins',sans-serif;
}
body{
    background-color: #ffffff;
}
header{
    display: flex;
    align-items: center;
    justify-content: space-around;
    background: #f2f2f2;
    backdrop-filter: blur(10px);
    height: 60px;
    width: 100%;
    position: relative;
    z-index: 8;
}
.LOGO{
        width: 50px;
        height: 30px;
}
.nav a{
    color: #000000;
    text-decoration: none;
    font-weight: 600;
    font-size: 20px;
    padding: 25px;
    transition: 300ms;
}
.nav a:hover{
color: #3b82f6;
padding: 20px;
}
.nav .logo{
    display: none;
}
#check{
    display: none;
}
.user-form-group {
display: none;
}
#anniu1{
    background-color: #3b82f6;
    color: rgb(255, 255, 255);
    padding: 10px;
}
#anniu1:hover{
    color: #ffffff;
    border-radius: 10px;
    font-size: 20px;
    padding: 15px;
}


/* 轮播 */
.swiper{
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
    font-size: 14px;
    color: #000;
     margin: 0;
     padding: 0;
    }
.swiper {
    width: 100%;
    height: 570px;
}
.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}
.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
 .swiper {
     margin-left: auto;
    margin-right: auto;
}


/* 文字 */

.classcard {
  font-size: 35px;
  display: inline-block;
  position:relative;
}
.classcard::after{
 content: '';
 position: absolute;
 width: 100%;
 transform: scaleX(0);
 height: 5px;
 bottom: -7px;
 left: 0;
 transform-origin: bottom right;
 transition: transform 0.25s ease-out;
}
.classcard:hover::after{
  transform: scaleX(1);
  transform-origin: bottom left;
}
.lesson{
  text-align: center;
}


/* 自适应 */
@media (max-width: 768px) {
    .nav{
        position: absolute;
        left: -150%;
        top: 0;
        display: flex;
        flex-direction: column;
        background: #f7f6f2d3;
        height: 400px;
        width: 400px;
        transition: 500ms;
        z-index: -1;
    }
    .swiper-slide img{
        width: 420px;
        margin-left: -5%;
    }
    .nav a:hover{
    background: #3b82f6;
    color: #fff;
    padding: 30px;
    }
    .LOGO{
        display: none;

        
    }
    .nav a{
        text-align: center;
       
        margin-bottom: 5%;
        line-height: 2px;
    }
    .renwuyi{
        margin-top: 10%;
    }
    .user-form-group{
    display: flex;
    align-items: center;
    }
    .menu{
    font-size: 45px;
    color: #3b82f6;
    cursor: pointer;
    z-index: 1000;
    }
    #check:checked~.user-form-group .menu{
        display: none;
    }
        
    .close-menu{
        font-size: 45px;
        color: #3b82f6;
        cursor: pointer;
        }
    .user-form-group .close-menu{
        display: none;
    }
    #check:checked~.user-form-group .close-menu{
        display: block;
        }
    #check:checked~.nav{
            left: 0%;
    }

    /* 轮播 */
.swiper {
    width: 100%;
    height: 350px;
}
}



@media (max-width: 368px) {
    .nav{
        position: absolute;
        left: -150%;
        top: 0;
        display: flex;
        flex-direction: column;
        background: #f7f6f2d3;
        height: 400px;
        width: 400px;
        transition: 500ms;
        z-index: -1;
    }
    .swiper-slide img{
        width: 420px;
        margin-left: -5%;
    }
    .swiper-button-next{
        margin-right: 10%;
    }
    .nav a:hover{
    background: #3b82f6;
    color: #fff;
    padding: 30px;
    }
    .LOGO{
        display: none;

        
    }
    .nav a{
        text-align: center;
       
        margin-bottom: 5%;
        line-height: 2px;
    }
    .renwuyi{
        margin-top: 10%;
    }
    .user-form-group{
    display: flex;
    align-items: center;
    }
    .menu{
    font-size: 45px;
    color: #3b82f6;
    cursor: pointer;
    z-index: 1000;
    }
    #check:checked~.user-form-group .menu{
        display: none;
    }
        
    .close-menu{
        font-size: 45px;
        color: #3b82f6;
        cursor: pointer;
        }
    .user-form-group .close-menu{
        display: none;
    }
    #check:checked~.user-form-group .close-menu{
        display: block;
        }
    #check:checked~.nav{
            left: 0%;
    }

    /* 轮播 */
.swiper {
    width: 100%;
    height: 350px;
}
}

